<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="com.gua.jbs.pojo.Jbspit"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/pages/common/header.jsp"%>
<html>
	<head>
	</head>
	<body class="mainbody">
		<c:set var="prodDetails" value="${requestScope.prodDetails}"/>
		<c:forEach var="product" items="${prodDetails}" varStatus="counter">
			<c:set var="prodId" value="${product.prodId}"></c:set>
			<c:set var="prodName" value="${product.prodName}"></c:set>
			<c:set var="prodType" value="${product.prodType}"></c:set>
			<c:set var="prodCode" value="${product.prodCode}"></c:set>
			<c:set var="prodPrice" value="${product.prodPrice}"></c:set>
			<c:set var="prodSize" value="${product.prodSize}"></c:set>
			<c:set var="prodColor" value="${product.prodColor}"></c:set>
			<c:set var="prodImage" value="${product.prodImage}"></c:set>
			<%-- <c:set var="prodWeight" value="${product.prodweight}"></c:set> --%>
			<%-- <c:set var="prodIsApproved" value="${product.isApproved}"></c:set> --%>
			<c:set var="prodQuantity" value="${product.extrafield3}"></c:set>
			<c:set var="prodPolish" value="${product.extrafield2}"></c:set>
			<c:set var="prodAbout" value="${product.extrafield1}"></c:set>
			<c:set var="hrCode" value="${product.hrCode}"></c:set>
			<c:set var="designCode" value="${product.designCode}"></c:set>
			<c:set var="prodSubType" value="${product.prodSubType}"></c:set>
		</c:forEach>
		
		<div class="mainContainer">
    	
			<section class="bodyContainer">
				<div class="productReport">
        			<h2 class="titleTxtBig">Product Information:</h2>
            		<p class="hrlineBr"></p>

   	    			<div class="productDtls">
        				<div class="divclear">
            				<span class="pdTypeHding"><c:out value="${prodName}"/></span>
                			<span class="pdTypeHdingitalic"><em>(<c:out value="${prodType}"/>)</em></span>
           				</div>
			            <div class="divclear">
			       		  <span class="productCodeDtls"><span class="bldTxt">Product Barcode :</span><c:out value="${prodCode}"/></span>
			           	</div>
			           
			            <p class="spacerTopTen"></p>
			            <p class="hrlineBr"></p>
			            <p class="spacerTopTen"></p>
			            
			            <div class="divclear">
			            	<p class="productsImage"><img src="${imageContext}/necklace.png"></p>
			                <div class="productInfoDtls">
			                	<div class="divclear">
			                    		<span class="productInfoLable ">Sub Type</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodSubType}"/></span>
								</div>
								<div class="divclear">
			                    		<span class="productInfoLable ">Rates</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodPrice}"/></span>
								</div>  
			                    <div class="divclear">
			                    		<span class="productInfoLable ">Size</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodSize}"/> </span>
								</div>  
			                    <div class="divclear">
			                    		<span class="productInfoLable ">Polish</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodPolish}"/></span>
								</div> 
								<div class="divclear">
			                    		<span class="productInfoLable ">Color</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodColor}"/></span>
								</div> 
			                    <div class="divclear">
			                    		<span class="productInfoLable ">Total Quantity</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${prodQuantity}"/></span>
								</div>  
			                    <div class="divclear">
			                    		<span class="productInfoLable ">Human Readable Code</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${hrCode}"/></span>
								</div> 
			                    
			                    <div class="divclear">
			                    		<span class="productInfoLable ">Design Code</span>
			                            <span class="productInfoLablecolon">:</span>
			                            <span class="productInfoLableDesc "><c:out value="${designCode}"/></span>
								</div>                 
			                
			                </div>
			            </div>
           				<p class="spacerTopTen"></p>
			            <p class="hrlineBr"></p>
			            <p class="spacerTopTen"></p>
                           
                            
          				<div class="descriptionDtlsPrdts">
							<span class="bldTxt">Products Description : </span><c:out value="${prodAbout}"/>
						</div>            
            
          			</div>           	
            	</div>
			</section>
    
		</div>
		<!--main container-->
		<p class="spacerTopTen"></p>
		<p class="spacerTopTen"></p>
		<jsp:include page="/pages/common/footer.jsp" />
	</body>
</html>